<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>同步</title>
</head>

<body>

</body>

</html>
<script>
    let a = 10;
    let b = 20;
    let c = 30;
    window.console.log(a);
    for (let index = 0; index < 5; index++) {
        window.console.log(i);
    }
    window.console.log(b);
    for (let index = 0; index < 5; index++) {
        window.console.log(i);
    }
    window.console.log(c);
</script>